<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-values-5/#calc-size">
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
<p>Test passes if there is a filled green square.</p>
<div style="width: 0px;">
  <!-- The min-content, max-content size of this div should be: 100px, 120px respectively. -->
  <div style="background: green; width: fit-content; height: 100px;">
    <div style="width: calc-size(auto, size + 80px);">
       <span style="display: inline-block; width: 20px;"></span><span style="display: inline-block; width: 20px;"></span>
    </div>
  </div>
</div>
